SLING-3273 : Switch to login page if user is not allowed to access the web console

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1549760 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index 68b98d5..5a093ed 100644
--- a/pom.xml
+++ b/pom.xml
@@ -63,10 +63,12 @@
                         </Bundle-Activator>
                         <Import-Package>
                             !org.apache.sling.auth.core,
+                            !org.apache.sling.api.auth,
                             !org.apache.sling.api.resource,
                             *
                         </Import-Package>
                         <DynamicImport-Package>
+                            org.apache.sling.api.auth;version="[1.0,2)",
                             org.apache.sling.api.resource;version="[2.3,3)",
                             org.apache.sling.auth.core;version="[1.0,2)"
                         </DynamicImport-Package>