Fixed SSL login issue