Fix login prompt on HTTPS push (closes #5)

Hey!
I've fixed small bug #5