Fix bug when allow and deny property of the authenticatoin element contain white spaces

Fix bug when allow and deny property of the authenticatoin element
contain white spaces