Adds basic passport authentication, not completely tested