Added ability to override auth Window class on OSX (fixes #39)