Refactor assert_login_access
Refactor assert_login_access

No need to run in a subshell nor to use set +e.

btison/postgresql,praiskup/openshift-postgresql,bparees/postgresql,sclorg/container-common-scripts,openshift/postgresql,rhcarvalho/postgresql,sclorg/container-common-scripts,stevekuznetsov/postgresql,mfojtik/postgresql,ibotty/openshift-postgresql,sclorg/postgresql-container,mfojtik/postgresql,pkubatrh/postgresql-container,praiskup/openshift-postgresql,olysonek/postgresql,bparees/postgresql