Adds port to login redirect url.

PR for #1 :+1: