Made basic authorization work. Added posibility for using GSSAPI on non-default ports. Alway pass realm to nginx if forced