add auth pages spec to close issue #14 and fix issue #16