added conditions to sign_in and sign_out specs

Changes based on comments from this commit:
https://github.com/jpalmieri/blocitoff/commit/c3884f2503d181a63dac0d1af42144ae48d13c91#commitcomment-8853874