Proper redirect in popup when login fails.

This corrects issue https://github.com/sebsauvage/Shaarli/issues/10