Added login failures
Allowing port argument for Auth