Remove hardcoded constant in favour of login.conf value.
Remove hardcoded constant in favour of login.conf value.

PR: 	6529
Submitted by:	Dan Lukes <dan@obluda.cz>

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase