hide login button & change redirection according to conf
assigned to @sdarocha
merged
mentioned in commit b427f403