Added handling for posts to /login. Can now progromattically log in to PushPin.